/*
 * Copyright (C) 2017-2019 Dremio Corporation
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
 :global { // DX-11429 TODO reafactor component to use css modules instead fo global classes
  .grid-acceleration {
    padding: 10px;
    border-left: 1px solid #e1e1e1;
    border-right: 1px solid #e1e1e1;
    border-bottom: 1px solid #e1e1e1;

    .subCell {
      text-align: center;
      cursor: pointer;
      &:hover {
        background-color: hsl(199, 80%, 92%);
      }
    }

    .fixedDataTableRowLayout_main.public_fixedDataTableRow_main.fixedDataTableLayout_header.public_fixedDataTable_header
      .fixedDataTableCellGroupLayout_cellGroupWrapper:nth-child(2) .fixedDataTableCellGroupLayout_cellGroup {
      border-bottom: 1px solid #e1e1e1;
    }

    .fixedDataTableLayout_rowsContainer,
    .public_fixedDataTable_header,
    .public_fixedDataTable_header .public_fixedDataTableCell_main {
      background: #fff; // hide the content sliding underneath
    }

    .fixedDataTableLayout_main.public_fixedDataTable_main {
      margin-left: 0;
      margin-right: 0;
      border: 0;
      // use !important because fixed-data-table classes already have z-index. we need this for custom style
      z-index: 0 !important;

      input::placeholder {
        color:#bbc0c6 !important;
      }
    }

    .fixedDataTableCellLayout_main {
      background-color: white;
      border-width: 0px;
      border-right-style: none;
    }

    .fixedDataTableLayout_hasBottomBorder {
      border-bottom-style: none;
      border-bottom-width: 0px;
    }

    .fixedDataTableRowLayout_fixedColumnsDivider {
      border-width: 0px;
    }
  }
}
